package com.zte.springboot_smbms.mapper;


import com.zte.springboot_smbms.pojo.SmbmsAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 标哥
* @description 针对表【smbms_address】的数据库操作Mapper
* @createDate 2021-12-14 10:21:17
* @Entity com.zte.pojo.SmbmsAddress
*/
@Mapper
public interface SmbmsAddressMapper {

    List<SmbmsAddress> findAllAddress();

    List<SmbmsAddress> findAddressById(Long id);

    boolean addAddress( SmbmsAddress address);

    boolean updateAddress(@Param("id") Long id, @Param("address") SmbmsAddress address);

    boolean delAddress(Long id);
}




